package com.carl.zeus.config;

import javax.servlet.annotation.WebListener;
import javax.servlet.http.HttpSessionEvent;
import javax.servlet.http.HttpSessionListener;

@WebListener
public class SpringSessionListener implements HttpSessionListener {

	@Override
	public void sessionCreated(HttpSessionEvent se) {
		System.out.println( "创建一个session" );

	}

	@Override
	public void sessionDestroyed(HttpSessionEvent se) {
		System.out.println( "销毁一个session" );

	}

}
